<%@ include file="../layout/taglib.jsp"%>
<div class="container content-top"  ng-app="dnd" id="basket_detail">
	
		<div class="section group">
			<div class="col span_2_of_contact">
				<div>
					<c:choose>
						<c:when test="${not empty idTest}">
							
							<f:form  modelAttribute="user" method="post" action="authentest">

								<input name="idTest" value="${idTest}" type="hidden" />
								<div class="form-group">
									<label class="col-sm-3 control-label"  id="label"><t:message code="username" /></label>
									<div class="col-sm-9">
										<p class="form-control-static" style="padding-top: 0px;"><f:input path="username"/>
										</p>
									</div>
								</div>
								
							    <div class="form-group">
									<label class="col-sm-3 control-label"  id="label"><t:message code="password"/></label>
									<div class="col-sm-9">
										<p class="form-control-static" style="padding-top: 0px;"><f:input path="password" type="password"/></p>
									</div>
								</div>
								
                                
								<div class="form-group">
									
									<div class="col-sm-4">
										<p class="form-control-static" style="padding-top: 0px;"><input type="submit" class="btn btn-success" value="<t:message code="submit"/>"></p>
									</div>
									<div class="col-sm-8">
										<p class="form-control-static" style="padding-top: 0px;"></p>
									</div>
								</div>
								
							</f:form>

						</c:when>
						<c:otherwise>
							<f:form modelAttribute="user" method="post" action="authen"  name="loginForm">
								<input name="idCourse" value="${idCourse}" type="hidden" />

								<div class="form-group">
									<label class="col-sm-3 control-label"  id="label"><t:message code="username" /></label>
									<div class="col-sm-9">
										<p class="form-control-static" style="padding-top: 0px;"><f:input path="username" /></p>
									</div>
								</div>
								  <div class="form-group">
									<label class="col-sm-3 control-label"  id="label"><t:message code="password" /></label>
									<div class="col-sm-9">
										<p class="form-control-static" style="padding-top: 0px;"><f:input path="password" type="password"/>
										</p>
									</div>
								</div>

								   
								<div class="form-group">
									
									<div class="col-sm-4">
										<p class="form-control-static" style="padding-top: 0px;"><input type="submit" 
										 class="btn btn-success" value="<t:message code="submit"/>"></p>
									</div>
									<div class="col-sm-8">
										<p class="form-control-static" style="padding-top: 0px;"></p>
									</div>
								</div>

							</f:form>

						</c:otherwise>
					</c:choose>



					</br> </br>
					<p>
						<span><t:message code="logintxt1"/> <a href="register"><t:message code="register"/></a> <t:message code="logintxt2"/>
						</span>
					</p>
				</div>
			</div>
			<div class="col span_1_of_contact">
				<div class="company_address">
					<h3>Company Information :</h3>
					<p>500 Lorem Ipsum Dolor Sit,</p>
					<p>22-56-2-9 Sit Amet, Lorem,</p>
					<p>Phone:(00) 222 666 444</p>
					<p>Fax: (000) 000 00 00 0</p>
					<p>
						Email: <span>info[at]mycompany.com</span>
					</p>
					<p>
						Follow on: <span>Facebook</span>, <span>Twitter</span>
					</p>
				</div>
			</div>
			<div class="clear"></div>
		</div>
	
</div>